test with full optimization