Moved fixed _close test to the end so others don't failed on a closed
index, and implemented _stats API call + test

Change-Id: Ibefcf58d732b970f91bc3e999e7600eed3850710