fix tests for console refactoring