fixed unittest for update to test-api