Hang when Running Unit Test that Import Photos

Are you sure that you tried to Reset your iOS Simulator locally on your Mac before running the test?

The hang is caused by a popup which waits for manual input (as I mentioned above ;)):