testing db save