updating test script to use multiple cores