rdoc added, Rspec test updated