start trying to make common-tests_tally stuff work with extra level of test function for teesting sortedness