simplified test_1 to make bugfinding easier.