Bug 188829 Move the item ,the trans of the model don't close.
1:New report design. 2:Add a Embedded image. 3:Add another imge , then drag the second imge to the first position. 4:Change the size of the first image. Expected: Image change the size. Now: Image size don't change.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/command/ContentCommandTest.java
public void testGroupUniqueName( ) throws Exception
	{
		MyGroupListener groupListener = new MyGroupListener( );
		TableHandle tableHandle = factory.newTableItem( "table1" ); 
		designHandle.getBody( ).add( tableHandle );
		TableGroupHandle groupHandle = factory.newTableGroup( );
		groupHandle.addListener( groupListener );
		ContentCommand command = new ContentCommand( design,
				new ContainerContext( tableHandle.getElement( ),
						IListingElementModel.GROUP_SLOT ) );
		command.add( groupHandle.getElement( ) );
		assertEquals( PropertyEvent.PROPERTY_EVENT, groupListener.action );
		assertTrue( groupListener.event instanceof PropertyEvent );
		assertEquals( IGroupElementModel.GROUP_NAME_PROP, groupListener.name );
	}
	/**
	 * Tests when the label is deleted, the template definition will be cleared
	 * too.
	 * 
	 * @throws Exception
	 */
	public void testTemplateDefinition( ) throws Exception
	{
		
		SlotHandle templateDefinitions = designHandle
				.getSlot( ReportDesign.TEMPLATE_PARAMETER_DEFINITION_SLOT );
		assertEquals( 0, templateDefinitions.getCount( ) );
		
		LabelHandle label = designHandle.getElementFactory( )
				.newLabel( "label" );