Fixed the test-suite for the pattern editor, along with some doxygen warnings.