applied patch for STANBOL-1304 (the patch added a unit test for the repored issue); fixed the issue and also fixed the assertion for the created bundle in the unit test provided by the patch

git-svn-id: https://svn.apache.org/repos/asf/stanbol/branches/release-0.12@1587824 13f79535-47bb-0310-9956-ffa450edef68