Command query test