Testing element height with different resolutions