add testcase for ticket 3164
solved https://issues.jboss.org/browse/RAILO-3164