replacement for #349: handling of empty ABSTRACT

Contains PR #349, with the tests removed and replaced with a new one.