[test]add tests for photos_controller#create