Update lib
Update unit tests