Update the references in contributor testing documentation to refer to pytest instead of unittest.

The testing documentation page currently shows examples of using the unittest framework to create and write tests. However,  Freeseer is moving towards pytest for unit testing. Therefore, the documentation page should be updated to refer to pytest instead of unittest. For example, python examples that show how to extend the existing test set with the unittest module should be updated to reflect the pytest module.

related #420 
related #484 
fix #566 
`pytest.fixture` only provides the `setUp` functionality. `pytest.yield_fixture` should be used if you need `tearDown` logic as well. [http://pytest.org/latest/yieldfixture.html](http://pytest.org/latest/yieldfixture.html)