Add tests for build_status_from_logs