object creation change in test