Update test case to work correctly when content scale factor is used.
Check AppDelegate.cpp