Input string can be provided in the text format e.g. 0xAAAA
Additional unit tests