ghosteo.c: added ability to enter test mode. (nw)