Add test of deprecated merge(String) method