mats advice helped; i'll post the code as reference for anyone else.
note: i'm still trying to decode the regression test- what's the "ignatzek" thing all about? is that something someone added to lilypond, and the program will know what to do with it?