makes .pass and .fail work