#47: Declare character encoding in test.php

Resolves #47.