Replace bespoke spec framework with minitest/spec.
Remove GC fiddling from tests.