Added permission tests for photos