added rspec and first tests