you seem to be suffering from a sun related allergy
called as polymorphic light eruption.
No test is required to prove this disease.
There is no permanent cure.
You need to take sun protection.
Apply a sunscreen with 50 spf atleast three times a day.
Photobloc is a good sunscreen. You can use that.