Fixed function comparators and added spec