Adding diagnostic tests for pixel ratio, width/height, orientation support with user agent