added unit tests for web_page.rb, converted to singleton, fixed logger, expanded logger tests coverage