started test code for join_paired_ends