now migrations can have several parents
added tests for migration order