better feature for testing `--fork` option
Merge pull request #132 from mroth/add-test-for-forking-option

better feature for testing `--fork` option (resubmitted)