psr4 and tests for payment factories.