Fix common/configs. Add test.