Test to check if photo set or not.