Fix test syntax for batch db