Add npm and grunt task called "test".  To be used with Travis-ci.
rename .action() to .getActionByName()