Test image macros references in SubMacros()