modified test/test_data.cpp, add hdf5layer tests