IMplemented singletonSet and test