add some rspec tests