Added temp file & application directory tests
Added testing for camera overlay image

(cherry-picked until commit 880a7d5f360fe8da473041bc3285215058df9869)