first attempt at code generation (with junit even!)