Adding a unit test for weaver validation of module constructors.
Treat weaver exceptions as integration test failures.