small fixes to unit tests:
- support for disabling the console window
- repaired some scripts