Remove tests and add dir list.
-O and remove bdo.
Support decl editing.