Adding ability to do a test run with test=True. #18966
Merge pull request #19086 from rallytime/bp-19014

Backport #19014 to 2014.7