Added octal and hex tests.