added test for failed build