test for nested sets

fixes #9