I haven't found a good way to test major mode highlighting. I end up writing a file that uses all the language features and eyeballing it.