fix tests for rspec3