test: add database check for network test case.