Added circuit input output test. Fixed up AIG Output search