updated codepoint test to use number instead of string