Update test not to check implementation detail, fixes bug in set.