Test case for head using empty string