Add remaining tests for API helpers