Add unit tests. Add PUT.