Support require_indexes option for unit testing