Added suite of tests.
Fixed bug causing plugins to be executed more than once if listed multiple times w/initializePlugins.