Added migrator test for reserved keyword

This is a unit test for https://github.com/owncloud/core/issues/9318

It also fixes the fact that it wasn't always using the migrator subclasses when testing.

The test will fail until the upstream patch is in.