if exp[2] is not None:
                        self.assertEqual(test["fail_reason"], exp[2],
                                         'Fail reason "%s" not as expected: %s'
                                         % (exp, result))