Added areFieldsIndexed method and Tests for it