Avoid keeping references to tests.

This should allow tests to be garbage collected.
Merge pull request #183 from charettes/dereference-test-results

Avoid keeping references to tests.