Kuhn's algorithm, tests.