Use dynamic module extension in tests