Fixes unit test on recursiveModuleCompile

This removes previous assertion and adds a new test to check for current working directory being the same after recursive compiling.
I know you tested this, but if tempFileName is in cwd then we don't change directories and the test does nothing.  Can this not happen?