added tests for data type