Rewrite tests with munit
Fix hideConsole()