Add asynchronous test for getRecentActivity