adding in test for name
adding model name validation