set test database to use utf8 encoding

The default is latin1 therefore some functional test fails.