added a delete method for custom filter policy and merge operator to make it possible to override the cleanup behaviour of the return value
added a test case for custom merge operator