Fix up compilation errors in tests and resolve golint errors.
Load sqlite3 driver.