Add set testing

This PR adds set testing.

Targets #181
Same as above.