Change assert to tassert in unit tests