Add set testing

This PR adds set testing.

Targets #181
Please provide an example for this, I can't wrap my slimy head around it atm.