Fix a few joint chain unit tests.