rspec tests added