Added function to add testdata and remove all data