Refactoring; Debugging Travis CI SQLITE3 failures