Don't show a popup on assertion errors in non-interactive mode.
Restore path finding unit test.
Reorganize test files to add a testing helper library.