@beberlei The test only works on SQLite versions > 3.7.16 because PK columns order information was added for the `PRAGMA TABLE_INFO()` statement there. Before that it is not possible to tell in which order the columns in a PK were defined when reverse engineering with `PRAGMA TABLE_INFO()`.
Therefore this test will fail for earlier versions as it retrieves `array('id', 'other_id')` instead of `array('other_id', 'id')`.