fixed createing to many objects in tests