Add unit test for conf (closes #6)