How can I test my shared module?

There is a separate artifact called across-test that contains several utility classes for integration testing your module.
See the reference documentation on Testing for more details.