Tests for Where merge and splitting added