Added tests for rebasing to-many relationships and to-many ordered relationships.