Tests for malformed config