test to fix a dql bug