Added more API tests