Implemented XML-based configs and a bunch of tests for them