testing passing objects to modules