remove duplicate beforeEach in HTML entity unit tests