test DataTrait and its Filters;
check if value is an object before applying filters.