commit UnitTest HistoryDAO
refactor and configure to run in spring