Fix init_workspace for multiple sources
Description
Noticed a mistake that sneaked in for !1214 (merged), so only the last source of an element is placed in a workspace.
Changes proposed in this merge request:
- Fix
Element._open_workspaceso all sources are initialised. - Add test that checks opening a workspace includes all sources.