fixed pending rspec tests