Adding tests for sorted sets.