Repaired tests, little bugfix

Have rewritten tests for munit. It had helped to find out a little bug: showConsole() was called by hideConsole().