Update plugin to handle the addTestFiles option