ditest/ditest: add WithTemporaryDBNew, scaffolding to update tests to better format
api/api_test: break test table into individual tests