Optimized test