In a recent refactor (1), ray visibility for lights was accidentally broken. To help detect issues like this in the future, this commit adds tests specifically for this case. Ref: blender/blender-test-data!61 (1) https://projects.blender.org/blender/blender/commit/e813e46327dca72