fix updatePhoto test ( failing due to non-deterministic test execution order )