add another test and fix a typo by the way