Fix OPAL-1648: Test script button does not work
(cherry-picked from 23b0c58)