Fixed typo, added test