Added test for Photo model.