Add more handlers and some tests
Add the tests for the set module
Some bug fixes and more test cases