converted all tests to rspec