Refactored some tests
Corrected schema usage
Added tests for config parsing functions