adding test of pre declaration, and comments around expose commands