Use .assert...() methods instead of plain asserts