stuff for testing parsimony counting