Added rspec for testing