Added tests for the scanner getHex method.
Moved the scanner to the new string input parser. The current test will fail until the parser is updated to handle positioning correctly.