Fixing typo in assertion method