Introduce testing framework using pytest

The convention is to put the closing `"""` on a new line when the docstring is more than one line.