added tests for join and substring