fix raw blocks
fix LF
improve variable names; expect -> expected, result -> actual