Merge branch 'hotfix/6576'

Close #6576
[#6585] test for "no element by the name" error
added missing assert
[#6585] added test to check that noting is lost from the bound object when using nested collections
[#6585] fixes #6585
Merge branch 'fix/adding-collections-dynamically' into develop