added test for multi source chain generation