The test should invoke a program directly, not call brew again.