add rect tests
resize test on graphic view
add mediaPanelTest