Unit testing our models
added error message for name validation