Addded test for QueryOptions.CommandType