Fix share controller tests