Ir refactored the gvar_img TestCase.