EAGLESIX-3004: Ported code; wrote text cases.

e is undefined here.