Added tests for merge(nil) case