Adding test created for https://issues.jboss.org/browse/JBPAPP-10985
Merge pull request #1530 from clebertsuconic/2.3.x

Adding test created for https://issues.jboss.org/browse/JBPAPP-10985