Add initial state test for html5 support