Tests updated with 'end' terminator