added test for extract_datasize