Added test for passing a context to apply.Events on method.