added function for pushing testdata to the DB