Added autotests for autoreplace plugin

Authored by vijaykrishnavanshi on Jul 14 2017, 5:03 PM.