added rspec support

Added support for testing with rspec