Improvements to tests.

* Run editor-specific tests only when available.
* More elegant filtering of apps for editor-
  specific tests.
* Moved some editor-specific tests from common
  TestCase to editor specific test cases.