Test build directory has been changed