use aggregate collection to determine when tests are finished

fixes #6