Use better asserts instead of assertTrue.