Added pytest (#sTNC-3 Fixed)

This commit adds support for the pytest framework. The tests are now
organized in a separate package. Pytest configuration is done in
`pytest.ini`. To facilitate testing, a `runtests.py` file is provided.