Added test and code for HTML generation of client-side list.