saving test id to db for testmail