fix empty string test.

actually check for the empty string.