updated UT to test the loading of plugins and running at a preset interval of time