Maybe make this one allow empty strings and in the second test above make sure it's still valid.