Build circuits and test