adding test and script