[FIX] ImageSpec wrong test

This testcase had not been changed according to new 'export' API.