[FIX,TEST] fix typo, add test