refactored as test only passed because the instance variable @broken equates to nil