testing for text to binary conversion