tdb2: test: convert (non-invasive) run tests to api tests.