Unit tests for filter(), as(), back(), groupCount(), cap(), aggregate(), and store()

I'm working my way through writing unit tests for all the Gremlin calls I use. Here's the next batch of unit test additions.