support query,start param, add some tests