Fix import  in test file
Use `Invalid` exception instead of `MultipleInvalid` in tests.
Improve error reporting of syntax errors on configuration file.
Start improving validation of configuration file. NEED TO CLEANUP!