speed up test suite
Merge pull request #429 from despo/deferred-garbage-collection

speed up test suite