unit test for Joiner