add test case for type config