Improved tests for eolterm modifier.