Fix a bug in EnhancedProperties.getProperty with long var names
Add unit tests for EnhancedProperties