Added makeModule to static test framework

Example: makeModule("M", "int f() = 3;");
creates the module:
	module M
	int f() = 3;

This is very convenient for the inline definition of modules in tests.
Added import tests: reveals some new issues with syntax imports