Move dependency installation into separate shell script. Fix errors with testss