Added tests for merging scavenge.