Moving test flags to utils.

So we can have tests run with other flags if needed.