injecting $filter in recordHandler, thanks to unit tests