Moved to PyTest (closes #50).