merge test code