Add a test that shows JS objects can be modified if passed by reference into a C++ function