fix typo
refactor test