Add test for the command config and init