added isUnique() test and method. Closes #11