added test file for code generation