fixing typo in error message + add test