DEV: Add optional theme test step to the `smoke:test` rake task (PR #13418)

The purpose of this is to allow us to catch regressions for a feature we’ve built recently that allows theme tests to run in production. We recently had a regression that we didn’t notice for days, so to prevent that from happening again we’ll use this in our internal CI pipelines.