continuing FELIX-3903

Fix test on java 7.
Try to reproduce tests about enumeration.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1453923 13f79535-47bb-0310-9956-ffa450edef68
19 files changed