refs #762 - fix tests (code generation)