test: Add tests for naming threads with changing subjects.