Added a bracketMc test utility function.