Photo data is stored in database

Test data only added if does not exists
Photo url is stored in database