extened testcase 2795
solved ticket https://issues.jboss.org/browse/RAILO-2795