Wrote test code for dynamic plugin loading