some rspec tests added