VE-1333 Adding tests to resize media nodes

could you move it at the top of the class as you are using it more than once? :)