OWB-991 port over test from owb-1.2.x

This actually did work already in trunk, thus no code change needed.


git-svn-id: https://svn.apache.org/repos/asf/openwebbeans/trunk@1620403 13f79535-47bb-0310-9956-ffa450edef68