Fix comments and unittest for market.py and style

Trying to make the right commit to  the develop branch.
I don't think this has anything to do with the page of the new peer, but it has to do with your local identity page. Why do you think it's related to the new peer's page?