ENH: Better command testing