- fix copy&pase error in RestScriptlet::__construct()
- add test verifying the fix