- rearranged the code of emitSelect to avoid creation of extra where clause
- added select clause test with wherekey and where clauses together
- added new select test with order by clause