document.py: Fixes wrong arguments passed.

Adds another shift_jis sample and unit test.