Fix unicode warning thrown in tests (thanks @Qalthos!)