fix more bugs in dynamic outgroup.  time for unit tests
fix more bugs in dynamic outgroup.  time for unit tests

benedictpaten/cactus,benedictpaten/cactus,benedictpaten/cactus,benedictpaten/cactus,benedictpaten/cactus