Modified to fail the test if you can not get the ScreenBufferInfo