added spec files and rspec documentation