Test calling 'end' in a void context to improve coverage.