fixed sqlquery generator
added runPreparedStatement method
improved sqlquery testcase
added testcase for preparedStatement