Added functor test