added test cases for the 4 different situations dup2_x2 can be used in