Retrieve testdata from the DB