Translate unit tests into rspec tests.