tests: use $TEST_DIRECTORY to refer to the t/ directory