Fix Tests

We removed isViable and introduced isPlain.