add testcase for QueryFilter
solved ticket https://issues.jboss.org/browse/RAILO-2990
solved ticket https://issues.jboss.org/browse/RAILO-2989