Fixed test_initialize_sources

Having changed the grouping algorithm, now 21 blocks are generated instead of 21 in test_initialize_sources.