add reverse tests and fix typo