better loadNpmTask injection

I managed to add string arrays as an input for loadNpmTask; I also modified the existing test and README
String concat here, there's no advantage to using replace and it's no cleaner.