Update DB group queries format.
Update DB group test.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>