cleaning up history and test