[DEV] add several execute functions and the corresponding test.