EAGLESIX-3004: Ported code; wrote text cases.

need a semicolon here