added testcase for ticket 2879
solved ticket https://issues.jboss.org/browse/RAILO-2879