Move test helpers into Homebrew::TestCase
Switch to Minitest