Added unit test for applying inline styling to nested list elements. (ref. 416e35737aed2af60eff69887bb7bf33cc3b4bc8 )