Comprehensive Environmental Testing of Optical Properties in Thin Films