Add rspec test for create method