Fixed align_rests option of Formatter to work correctly

align_rests option was not working because line of note_head is not updated when formatting rests
Formatter only updated keyProps, so fixed
and also fixed tests to make it possible to compare between align_rests option on and off