Fix console tests.