Add test for BuildResult.create_log_string_for_task()