test: add database check for process test case.