Fix for travisci tests
Fix test DB and monolog error output
Merge branch 'fixtravisci'