Fix unused variables compiler warnings
Updated CS after CR
Whopsy. Fix a typo in dropDatabase and repairDatabase, and added tests
Fix CS after CR

- Use "cmd" consistently for commands
- Typo and closing comment on same line as per CS
- Add a newline before a return