How to build and test a script with a shell adapter