added some additional test cases around min / max occurs.
cleaned up the logging control using log4j.properties