Add tests for new().
Add tests for get_id().