Wrote spec tests, added rspec to the Rakefile.