[webapi] Add back 4 tests for HTMLElement dataset attribute