Added rspec tests for layout_helper.rb

File is spec/helpers/layout_helper_spec.rb
https://www.pivotaltracker.com/story/show/82977718