Tested HTML generation with test program