changed to rspec test framework