Fix comments and unittest for market.py and style

Trying to make the right commit to  the develop branch.
We recommend but we currently aren't enforcing a strict rule of 80 chars per line. One of the reasons we don't is that some long lines are difficult to break. In any case, a long line is an indication of high code complexity; reducing it's length involves more than chopping it up via `\`.