Use a custom test class so we can avoid monkeypatching
Move test helpers into Homebrew::TestCase