Modify AndGate.test() method to be self-contained.
Modify AndGate.test() method to be self-contained.

argv-minus-one/ReactFX,rodel-talampas/ReactFX,karelinoleg/ReactFX,hastebrot/ReactFX,JordanMartinez/ReactFX,TomasMikula/ReactFX