Add unit test to verify that FILE_OPEN command now returns error code when
it fails.

Also, cleanup: group image-related tests into a single describe() instead
of a separate one per it().