Same as testSetFlag2, but using the set_prolog_flag/2 directive instead of set_flag/2.
set_prolog_flag/2
set_flag/2