Break ternary operator into conditional.

Ternary operator much too long to read. Break into a conditional block
to improve readability.
Merge pull request #467 from modocache/sentestsuiteadditions-readability

Break ternary operator into conditional.