The story
From photo- + test, not only reflecting clipping of photosensitivity test but also reflecting the fact that the test often is literally a "light test", such as with timed exposure to a measured amount of UV-A or UV-B.
Etymology from Wiktionary, CC BY-SA 4.0.