Improved mock generator test support scripts.