Recheck if top level decl, workaround test problem by printing pass in a loop