modify tests to reflect that errors are logged, not printed