test for adding config classes