fix bz6160815: port argument must be an integer
add tests for mojito start port args
Merge pull request #1040 from isao/bz6160815

fix bz6160815: port argument must be an integer