Add test for init and config commands.