tests for script manager
interfaces moved to separate module.