Fail tests if the api cannot build