Add tests for partial event unsubscribing
Reconfigure Travis CI to build under Mac OS X