Added test for encoding filter

KAA team