Added test cases for the fixes for each and fixed some test cases that did break when I added more ul tags.