py runtime: properly parse hex & octal ints
unit tests for hexadecimal ints