Added unit tests for Select & Merge quick fix