add query model
add query model test