test(handler): add source field tests for API handlers
Add comprehensive tests for multi-source support in API
handlers: source-scoped duplicate detection, source query
param filtering, omitempty JSON serialization for null
source fields, and source field passthrough to store layer.