updated rspec tests from should to expect syntax