better loadNpmTask injection

I managed to add string arrays as an input for loadNpmTask; I also modified the existing test and README