Change always true test to assertion.