Test passes if it does not crash and "script" inside "rect" executes.