Add join test and test stubs