Revert "optimization tests"

This reverts commit 7140dfe5c95e822020e89f7631a1383ded47a714.