Added terminal logging to tests