Add test for memcpy expansion with hint.