Added test and changed a join path to manual concanation