Add test for federated request