fully generalize number of test configurations in test_io