cleanup
more tests
cleanup
split submit_query into submit_plain_query and submit_param_query
test for submit_plain_query