Test handler for data type