Note on a potential bug and some tests we should write

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