Add test case for "sources" config that contains quotes.

Also reorganized tests into proper subtest().