test function definition in codex