corrected dbUrl, added testQuery in class DBType

1. corrected dbUrl of Ms sql server
2. add testQuery for DBType