Added index flags test