Fix typo and remove unnecessary test