make test suite compatible with rspec 3.0