Fixed runtest, now uses sys.exit + build command import exception.