added some rspec test