collapsing infer/select/simulate
switched estimate parsing to parse_query
added first order test for remaining queries