test harness should emit undef warnings
stop emitting to STDERR via print... use log