sets test_after_build flag