wrote a failing test for merge and made the test to pass for complete