Fixed object index not updated.
Added test for cache index update.
Merge pull request #19 from troopjs/hotfix/index

object timestamp NOT UPDATED