Fixed failing test due to missing uniqueIndex
Merge pull request #70 from janm399/master

Fixed tests