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