Enhance test with different encoding.