Replace bespoke spec framework with minitest/spec.