Optimize GetActiveTests