IndexMetadataTest
IndexTest
Fix double/float to long comparison
Merge pull request #350 from tonyhuang/idxtest

More index tests.