Use self.assertRaises(ValueError) for checking that date is invalid