test optimizations (utest)