Fixed a race condition in the actual test, causing it to fail occasionally. Also added more documentation to the test, so it's easier to read and understand what's going on.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1005394 13f79535-47bb-0310-9956-ffa450edef68
1 file changed