(tests): Add edge case tests for "0", "0x", "0x0".