Add tests for @Module(library=true/false), as well as some initial code-gen tests.