Put some assertions into testStatcacheFix().
Merge pull request #413 from bantu/stat-cache-fix

Put some assertions into testStatcacheFix().

* bantu/stat-cache-fix:
  Put some assertions into testStatcacheFix().