[asan] simplify a test