[#19] Added tests forWebPage class