insert values in db + test flask