add tests for charset parameter on live connection

The charset parameter is only tested in the dsn parser - add tests on the database connection (currently broken for fallback charsets)