Tests: Add a test file for the bug in the previous commit.