Remove writeLog()
Create resetDBEnvironment()
Fix migration tests
Add tests for testUpdateLog()