Use more generic path for tests

This allows "make test" to work when the build directory is elsewhere.