fix tests.
fix json showlog.cgi tests