modify test code for execute method