_compat: Move if PY2 to top, remove parens in reraise exec/eval for py2, causing errors.
Util tests for finding modules, packages.