completed Rspec tests