optimized test cases