scripting unit tests