use tmp dir for history file when running tests
Merge pull request #165 from cjolly/tests-tmp-history-file

use tmp dir for history file when running tests