Circuit class unit tests