adding tests for scripting adaptor