added testcases for execute and nonexecute