corrections/additions to test_next_rev