add lib init test
fix to lower
test pycurl
fix market method
market and counters