Add a test case for scriptprocessor