run definition function with 'this' set to effect node [#12]
Added unit test for plugin definition functions [#12]