Added basic circuit graph testing