added 'test mode' for Builder.exec, fixed syntax error in Builder class