merging test codes