Test if we can save a record in db