Added a few rspec test cases for model testing