Switch to pytest

This should go in dev-requirements.txt (which should be created), since it's not a runtime dependency.