Only running replacer plugin when tests run