add getter fkt and tests to intset classes

also some bug fixes included