Revert "Remove testOptions in Test"

This reverts commit 4cf2f290631ce8496b1ebddf7c94f50486284152.