[tests] add string.charCodeAt() test