Add upgrade tests from 2.1 to 2.2

- the databases to be migrated have schema indexes