add test case for related items migration