Added test for create method, added validation to create method