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