procfile watcher: added method to add command.
Added a test for add command.