migrate the compose node.
add test case for compose
change the migration for apply
Merge pull request #1530 from Zhengzi/Migration2

migrate the compose node.