Fix Minor typo and add test.