actually check for failure scenario in tests