test adding timestamp to db