Optimiza tests