Fixed h5load to handle empty arrays and modified test to check for that.