Add tests for the filename.

Test that the stacklevel is handled correctly.
2 files changed