re-factor Set methods always pass in 0 as default value
re-factor Set methods and add tests
fix wildcard pub-sub test