Test cases for CollectorFacotryManager