added a test for aggregate without groupBy
added a test for aggregate result format
added a test for aggregate sum to default to zero when no terms are found
Merge pull request #38 from Shiti/develop

added a test for aggregate without groupBy