Fixing test error caused by checking enclosingMacros > 0