[BUG #8618] switch to sinon sandbox
minor fix
[BUG #8618] fix Script tests