More tests.  Handling of end.