Fix test db type checker.