Add test for secret-define/undefine