changes for test in travis, with sqlite3 and image