Move AVX encoding tests to different files