Updated CS after CR
Fix unused variables compiler warnings
Whopsy. Fix a type in dropDatabase, and added a test
Use "cmd" consistently for commands
Fix typo in repairDatabase :P and add a test
Typo and closing comment on same line as per CS
Add a newline before a return