Added test for rebuildValueIndex, findKeysFromValue and findFromValue.