Replaced TestCase.assert_invalid_save with TestCase.assert_invalid and used better techniques for verifying validation failed