Change test to use toStringX for x browser