Test for insertion of a trailing whitespace