fixed test failures, caused by missing encoding