tests for all modes

simplified mode tests, and converted all old `*_highlight_rules_test`s to new style
@ajaxorg/liskov @gjtorikian