check if dataToSave is already exsisted in CoucnDB and its testing