added 'allowdupe' to support users sharing same uid
Fix tests for allowdupe
Merge pull request #24 from torrancew/feature/allowdupe

feature/allowdupe - fixes #23