[tests] Refactor partial tracking tests.