Add tests for weblib

Change-Id: I417d488ebebc39d05a4ce533b1bbf787801d69b0
Merge "Add tests for weblib"