Fixed unit tests for Unique.