Added test cases and encoded files