working through API tests