Add set testing

This PR adds set testing.

Targets #181