Do you have unit tests around all the different ways a "parentElement" can be set?