cleaner solution to highlight binary data

and added new test highlightBinaryData to test for this case