add console tests.