Fixing up rspec tests.