update doctrine, fix tests, fix indexes names (bug with sqlite)