added readwrite tests, modified readwrite to convert to Float64