Check for blank string and use test value if set.