add testcase for 2775
solved ticket https://issues.jboss.org/browse/RAILO-2775
Merge remote-tracking branch 'origin/4.1' into 4.1