Added check for "shouldSmokeTest" flag.

Checking for this flag allows users to circumvent an issue where smoke
tests run repeatedly, hurting performance/stability.