tests: use assert