I installed a formula from a tap. Then I removed the formula with brew uninstall. I cloned the formula, changed the tests and installed it with brew install .
brew uninstall
brew install .