Added empty check for string.

Mainly because I am more interested in strings for the sake of TDD-ing
from a simpler point