Modified AspectTest to generate CSV