remove encoding checks in tests