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