fix rspec tests