added tests for new methods from web_page.rb