add test case for data type