fix (parse $eof "a") test failure

closes #20