Abstract `action` module as an external dependency.
Remove testing files related to `action` module.
Update testing code, fix #33.
Merge pull request #36 from zpbx/action.js

Abstract `action` module as an external dependency.
Merge pull request #37 from zpbx/fix-cmd-testing

Update testing code, fix #33.