Update WebUI tests

-added compatibility with python2.6
-added new tests

Change-Id: I3f42f4954e14ccc4843ce1871a593b2cf8f4c021