Add test-case for AgentProfile Viewlet