added spec to verify previous data not to be overwritten