def test_person_api_invalid_date(self):
        person_data = {
            "name": "joe",
            "family_name": "doe",
            "given_name": "joe jambul",
            "additional_name": "not john doe",
            "gender": "unknown",
            "summary": "person unit test api",
            "honorific_prefix": "Chief",
            "honorific_suffix": "of the fake people league",
            "biography": "He does not exists!!!!",
            "birth_date": "invalid date",
            "death_date": "invalid date",
            "email": "joejambul@sinarproject.org",
        }
        token = Token.objects.get(user__username="admin")
        self.client.credentials(HTTP_AUTHORIZATION='Token ' + token.key)
        response = self.client.post("/en/persons/", person_data)
        self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)
        self.assertTrue("errors" in response.data)