Add clearSubscriptions method

This pull request implements a `clearSubscriptions` method, that has been requested in #41 and #60 


Good point! I think it deserves a separate test, to make it clear what's going on