Modified testUnqTogether function in tests.py