added testscase for ean encoding