minor changes to history storage
ignore most in the test dir