aggregate command + test

Hi, an aggregate command added to the collection with a test.
Cheers,

Paul