Extracted array transformation into a single method and added tests for it.
Added tests for the SympaStub. Slightly refactored the stub and added the new method createList().
Reshaped the sympaStub so that it now follows the same pattern as the other modules.