Added java test framework for mgen-testresources