Fixed a bug in string_prototype test