Added practical salinity utilities and tests