Ostensibly, yes, but I'm not really competent enough with Homebrew's testing framework (or Ruby, for that matter) to write one.