there is a typo (`offser`) here. and, can you also add a test case?