Bugfix: fixed ConcurrentModificationException resulting from this code
Changed related test files to test for multiple attributes
Merge pull request #18 from jimmyli97/develop

Bugfix for AbstractModules.replaceElements()