[twig] workaround the bug in twig bundle.
[stripe] add tests for payment factories.