Using py.test instead of nosetests.

Using py.test instead of nosetests and adding coverage report.