Fix comments and unittest for market.py and style

Trying to make the right commit to  the develop branch.
Grammar: Write docstring comments in imperative form: "send", not "sending"