Refactor stub_command into global before block
Add stub_command for travis-ci
Merge pull request #14 from jhx/refactor_stub_commands

Refactor stub_command into global before block