Fix test which failed because of anchor component