createdunit tests for the build.sh and separated the functions in a different file