Added remove function and tests for gameObjectManager