workspace script schema defaults terminalId to null; include it in the expected shape of the test's toEqual assertion.