Added more unit tests to html5 services