This module may not work outside JBoss AS since it requires additional modules that exists in the container. So maybe it is a bit misleading to say JBoss Modules.
I would stick with the container we are using in the integration tests.