Fix bugs in tdd and append import to generated file