fixed check_shard_index, evald, and loader_simple for ctest #869