added test for date index and util to compute grainTs
Merge pull request #35 from Shiti/develop

added test for date index and util to compute grainTs