Changed the url tester method. Added styles support