test if setting user photo path works with aws