resolved rspec tests