VE-1419 Adding a test to change the alignment of media nodes

This part is to handle media node (video or thumbnail), which the element href could tell us which file it is.