photos controller tests