fix test in homebrew formula