rspec tests in place. removed duplication on pages