Add tests for `MigrationFile.getMigrations(dirPath)`