Added hexcodes to the test programs