Fixed bug where isUnique check was comparing the functions instead of the string values. Added tests