Add unittest for UniqueKeyedService.
Fix test note.
Address Ian's notes.
Remove dup file.
Remove un-used import.
Add timestamp for testing.
Merge pull request #543 from luckysong/test_uniquekeyed_service

Add unittest for UniqueKeyedService.