Simulating AIA observations of a flux rope ejection