test for removing empty builders