Fix broken test in core_commands.