Add test of reading dataset with compound datatype