added tests for CSVSQLGenerator
fixed sql generator class