Added rspec tests
Merge pull request #3 from gusson/spec

Added rspec tests