Update unit tests for rspec 3