Add basic tests and update requirements.