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