adding unit test for new log parser check_errors flag