add xset and nset tests