"""Unit tests for API helpers."""