Fix small code styling inconsistencies with CONTRIBUTING.md
[BUGFIX beta] #4443 - Implement testing suite for removeObjects method
[BUGFIX beta] #4443 - Replace forEach with a regular for loop