tests: Document use of the MEMDEBUG_LOG_SYNC macro