[KFSQA-1044] move 'end' to new line