optimized tests