Add tests for subscription retrieval