Additional unit tests.

More {count}{motion} happy path tests.  Additional p-graph motion tests.
Removed dead code.  Added some deletion tests.  Created closures out of
various Motions modules.