Added missing tests for the execute method.