Fix encoding in test database