Added tests for mutliple replace tags