Use pytest for unit tests.