DERBY-6409: Wrong result from quantified comparison

Add test case to verify that the fix for DERBY-6408 fixed this bug too.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1573935 13f79535-47bb-0310-9956-ffa450edef68