Fix duplicate test assertion