Update basecases to reset the created resources array every time a new class is tested.