fix for console tests