#1032 / #1034 API: HTML / Server widgets tests: added events testing and options testing