make tests more precise
add class for key-value pair
split out methods around key+value rendering
more refactoring of <li> creation methods
add ExpandablePair class