Mechanism for running console tests