enter build directory before calling tests