Changes tests for rspec 3.