fixed bug in cgi
added testdata.