"""Unit tests for shared cognitive agent infrastructure."""