http://arubystory.blogspot.gr/2014/10/testing-execution-of-beforefilter-with.html
Does this approach seem valid to you?
Thanks