Revert "Use `brew list` to check for package installation"

This reverts commit d720cb48f142dee8f5ce238b57a7a785a7d4b940.

on reflection, this is not as good as the original test