Fix test script when specific values are passed for the build options