added moveEntry api support and test cases