Remove 3rd party libs.
Fix tests.