tests: TestCase.assertIsNone only supported in 2.7