added unit tests for vq.unique