[runtime] Fix a runtime test which got broken by the newly added methods to the Marshal class.