added destroy_build and basic test for it