Fixed assertion which was breaking test
Upgraded libs