fixed typos and added rspec testing files