rspec added
testing added for title and content