cleans up before testing