fixed bug in lilypond flat handling and test that was masking it