tests for rspec2 and rspec3