Added tests for when screen resulotion is zero.