added more test code and edited the circuit file