Fixed testing errors due to differences in html code