api: don't depend on relative parent path for running tests