Add tests for execute()