Fixed resolution of CSIGN in terms of CNOT
Added unit test for circuit resolution