tests to model methods
added spec tests to my model methods