move the bit that converts received strings to ASCII-8BIT to a more generic place in the test framework code