Make api-test not depend on user.dir