ticket:2 middleware schemamigration test