Testing more APIs with callbacks