first test actually generates code