Rewrite specs using minitest.