updates for stack overflow and version changes along with a class loader fix for maven tests
enhanced tests and code cleanup