Added a test when enumerating video modes to make sure the list isn't empty.