Refined class loader-based tests and added test for classredefinition strategy.
Added unit tests, minor bug fixes and documentation.