String object test fix