update tests for rspec 3