remove GUI version; add clear test case program.