Added a test for legacy data type