Brute force fix for carrying of the `this` parameter
Fix test setup and use `this` to make sure options aren't lost when calling functions
Use `this` in MySQL and SQLite as well for consistency