Complete API tests