Fix in test for api libs