[sanitizer] Minor fixes in sanitizer_common tests.