schema: Fix indexOptions attribute name
schema: Add tests of flags for columns