Test the command util methods