changed the logic flow in the AVX test