fix selecting a stock port and add regression test
Merge pull request #44 from mvo5/bugfix/fix_post_from_stock_port

fix selecting a stock port and add regression test