fix get_class function + minor enhancements required for easyconfig unit tests