DB pre-testing