add tests for Join class