[fix] test case for `avoid`