unit tests for ISet

I think it would be best to create another test: SetMaxSizeTest where this 'aspect' of the set is tested in isolation; the same goes transactions or listeners.