mock $log
testing filters, directives