Added tests for DepositScript and some other things